<!DOCTYPE html>
<html lang="zh">
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<meta http-equiv="X-UA-Compatible" content="ie=edge">
		<title>机构端</title>
		<script type="text/javascript" src="__STATIC__/jquery-2.0.3.min.js"></script>
        <link rel="stylesheet" href="__PUBLIC__/Home/css/reset.css">
        <link rel="stylesheet" href="__PUBLIC__/Home/css/style.css">
	</head>

	<body class="agency_box contentBox pos_rel dpflxr">
		<include file="head" />

		<!-- 2.垂直导航 -->
		<div class="navColumn">
			<a href="{:U('Mechanism/news_index')}" <if condition="$cur eq 新闻管理">class="navColumnItem actived dpflxr pos_rel"<else />class="navColumnItem  dpflxr pos_rel"</if> data-type='1'>
				<div class="lineColumn pos_abs"></div>
				<label for="">新闻管理</label>
				<div class="rightArrow">
				</div>
			</a>
			<a href="{:U('Mechanism/class_index')}" <if condition="$cur eq 新闻分类">class="navColumnItem actived dpflxr pos_rel"<else />class="navColumnItem  dpflxr pos_rel"</if> data-type='2'>
				<div class="lineColumn pos_abs"></div>
				<label for="">新闻分类</label>
				<div class="rightArrow">
				</div>
			</a>
			<a href="{:U('Mechanism/activity_index')}" <if condition="$cur eq 活动管理">class="navColumnItem actived dpflxr pos_rel"<else />class="navColumnItem  dpflxr pos_rel"</if> data-type='3'>
				<div class="lineColumn pos_abs"></div>
				<label for="">活动管理</label>
				<div class="rightArrow">
				</div>
			</a>
			<a href="{:U('Mechanism/sign_up')}" <if condition="$cur eq 活动报名">class="navColumnItem actived dpflxr pos_rel"<else />class="navColumnItem  dpflxr pos_rel"</if> data-type='4'>
				<div class="lineColumn pos_abs"></div>
				<label for="">活动报名</label>
				<div class="rightArrow">
				</div>
			</a>
			
		</div>



		<!-- 3.垂直导航分类页面 -->		
		<!-- 3.1 新闻管理 -->
		<div class="contentArea tabPage actived">
			<!-- 3.2.2 新增新闻 -->
			<div id="addNews">
				<div class="caTitleBox dpflxr">
					<label for="" class="caTitle">新增新闻</label>
					
				</div>
				<form action="" method="POST">
				<div class="card switchPage ">
					<div class="dpflxr">
						<div class="contentItem  dpflxr ">
							<label for="" class="title">标题：</label>
							<div class="pos_rel">
								<input type="text" class="inputBox" name="title" value="{$info['title']}" placeholder="请输入标题" style="padding-right: 56px;"
									placeholder-style="font-size:16px;line-height:48px;color:#bfa;"/>
								<label class="pos_abs unit">0/15</label>
							</div>
							
						</div>
						<div class="contentItem  dpflxr">
							<label for="" class="title">来源：</label>
							<input type="text" class="inputBox" name="source" value="{$info['source']}" placeholder="请输入来源"
								placeholder-style="font-size:16px;line-height:48px;color:#bfa;" />
						</div>
						<div class="contentItem  dpflxr">
							<label for="" class="title">排序：</label>
							<input type="text" class="inputBox" name="sort" value="{$info['sort']}" placeholder="请输入排序"
								placeholder-style="font-size:16px;line-height:48px;color:#bfa;" />
						</div>
					<div class="contentItem  dpflxr">
						<label for="" class="title">分类：</label>
						
						<select name="class_id"  class="selectBox">
							<volist name="type_list" id="item">
								<option value="{$item['id']}" <if condition="$info['class_id'] eq $item['id']">selected</if>>{$item['name']}</option>
							</volist>
						</select>
					</div>
					</div>
					<div class="contentItem editor  dpflxr">
						<label for="" class="title">内容详情：</label>
					
												<textarea style=" margin-left:12px;" id="content" name="content">{$info['content']}</textarea>
							{:hook('documentEditFormContent',array('name'=>'content','value'=>$info['content']))}
					</div>
						
						
						<input type='hidden' name="id" value="{$info['id']}">
							<div><button class="ciBtn" type="submit">保存</button></div>
					
					
					</div>
				</form>
				
			</div>
			
			
		</div>
		
	


	</body>
</html>
